package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 设备品牌表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 17:30:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "设备品牌")
public class BEquipmentBrandUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 品牌标识号
     */
    @Schema(description = "品牌标识号")
    @NotEmpty(message = "请填写品牌标识号")
    @Size(max = 20, message = "品牌标识号长度不能超过{max}")
    private String brandCode;
    /**
     * 品牌名称
     */
    @Schema(description = "品牌名称")
    @NotEmpty(message = "请填写品牌名称")
    @Size(max = 20, message = "品牌名称长度不能超过{max}")
    private String brandName;
    /**
     * 备注
     */
    @Schema(description = "备注")
    @Size(max = 320, message = "备注长度不能超过{max}")
    private String note;
    /**
     * 是否删除 0否1是
     */
    @Schema(description = "是否删除 0否1是")
    @NotNull(message = "请填写是否删除 0否1是")
    private Integer isDeleted;


}
